package cn.edu.nju.software.bean.storage;

import java.sql.Timestamp;

public class Comment {

	private int id;
	private int userID;
	private int bookID;
	private String content;
	private Timestamp postTime;
	private Timestamp stickyTime;

	public Comment(int id, int userID, int bookID, String content,
			Timestamp postTime, Timestamp stickyTime) {
		this.id = id;
		this.userID = userID;
		this.bookID = bookID;
		this.content = content;
		this.postTime = postTime;
		this.stickyTime = stickyTime;
	}

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public int getBookID() {
		return bookID;
	}

	public void setBookID(int bookID) {
		this.bookID = bookID;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Timestamp getPostTime() {
		return postTime;
	}

	public void setPostTime(Timestamp postTime) {
		this.postTime = postTime;
	}

	public Timestamp getStickyTime() {
		return stickyTime;
	}

	public void setStickyTime(Timestamp stickyTime) {
		this.stickyTime = stickyTime;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

}
